package com.edu.whu.service;

import com.edu.whu.entity.Content;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ContentService {
    List<Content> getAllContent();
    Content postContent(String token, Content content) throws ServiceException;
    void deleteContent(String token, Integer contentId) throws ServiceException;
    Content getContent(Integer id) throws ServiceException;
}
